@csrf
<div class="layui-form-item">
    <label for="name" class="layui-form-label">名称</label>
    <div class="layui-input-block">
        <input type="text" name="name" class="layui-input" value="{{$subject->name??''}}">
    </div>
</div>
<div class="layui-form-item">
    <label for="code" class="layui-form-label">编号</label>
    <div class="layui-input-block">
        <input type="text" name="code" class="layui-input" value="{{$subject->code??''}}">
    </div>
</div>
<div class="layui-form-item">
    <label for="parent_id" class="layui-form-label">上级</label>
    <div class="layui-input-block">
        <input type="text" id="parent_id" name="parent_id" lay-filter="parent_id" class="layui-input"
            value="{{$subject->parent_id??''}}">
    </div>
</div>
<div class="layui-form-item">
    <label for="category" class="layui-form-label">类别</label>
    <div class="layui-input-block">
        <select class="layui-select" name="category" value="{{$subject->category??''}}">
            <option value="基本专业">基本专业</option>
            <option value="特设专业">特设专业</option>
        </select>
    </div>
</div>
<div class="layui-form-item">
    <label for="description" class="layui-form-label">备注</label>
    <div class="layui-input-block">
        <input type="text" name="description" class="layui-input" value="{{$subject->description??''}}">
    </div>
</div>
